package com.qidian.buy.product.service;

import com.qidian.buy.entity.Item;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qidian.buy.util.pojo.BuyResult;

/**
 * <p>
 * 商品表 服务类
 * </p>
 *
 * @author 戴着假发的程序员
 * @since 2023-07-05
 */
public interface IItemService extends IService<Item> {
    BuyResult queryByPage(int page,int limit);

    BuyResult saveItem(Item item);

    BuyResult queryItemAndDescById(Long itemId);

    BuyResult updateItem(Item item);

    BuyResult deleteItem(Long itemId);
}
